package com.zhu.gmallpublisher.service.impl;


import com.zhu.gmallpublisher.mapper.GMVMapper;
import com.zhu.gmallpublisher.service.GMVService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.math.BigDecimal;

@Service
public class GMVServiceImpl implements GMVService {


    @Autowired
    private GMVMapper gmvMapper; //Mybatis 实现


    @Override
    public Double getGmv(int selectDate) {
        return gmvMapper.selectGMV(selectDate);
    }
}
